package org.jeecg.modules.zcgl.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.zcgl.entity.PayablesDetails;
import org.jeecg.modules.zcgl.entity.PayablesInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.zcgl.vo.statistical.PersonalOnlinePlatformPaymentVo;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 应付款项
 * @Author: jeecg-boot
 * @Date:   2020-06-30
 * @Version: V1.0
 */
public interface IPayablesInfoService extends IService<PayablesInfo> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(PayablesInfo payablesInfo,List<PayablesDetails> payablesDetailsList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(PayablesInfo payablesInfo,List<PayablesDetails> payablesDetailsList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	/**
	 * 个人在线平台支付对账
	 * @param page
	 * @param queryWrapper
	 * @return
	 */
	IPage<PersonalOnlinePlatformPaymentVo> queryPersonalOnlinePlatformPaymentPageList(Page<PersonalOnlinePlatformPaymentVo> page, QueryWrapper<PersonalOnlinePlatformPaymentVo> queryWrapper);


	List<PersonalOnlinePlatformPaymentVo> queryPersonalOnlinePlatformPaymentList(QueryWrapper<PersonalOnlinePlatformPaymentVo> queryWrapper);

}
